<section class="scrollable padder-md" data-ng-controller="RouteSiteEditController">
    <div class="m-b-md">
        <a href="" class="btn btn-rounded  btn-sm btn-icon btn-default pull-right" data-ng-click="close()">
            <i class="fa fa-reply"></i>
        </a>
        <h3 class="m-b-none text-black">
            <i class="fa fa-edit m-r-sm"></i>
            站点- {{routeSite.name || '新增'}}
        </h3>
    </div>

    <section class="panel panel-default">
        <div class="panel-body">
            <form class="form-horizontal">
                <div class="form-group">
                    <label class="col-md-3 control-label">
                        <span class="mustinput">*</span>
                        简称：
                    </label>
                    <div class="col-md-8">
                        <input type="text" class="form-control" data-ng-model="routeSite.alias" required/>
                    </div>
                </div>

                <div class="form-group">
                    <label class="col-md-3 control-label">
                        <span class="mustinput">*</span>
                        站点名：
                    </label>
                    <div class="col-md-8">
                        <input type="text" id="suggestId" class="form-control" data-ng-model="routeSite.name" required/>
                        <div id="searchResultPanel"
                             style="border:1px solid #C0C0C0;width:150px;height:auto; display:none;"></div>
                    </div>
                </div>

                <div class="form-group">
                    <div id="allmap"></div>
                </div>
                <!--<div class="form-group">-->
                <!--<label class="col-md-3 control-label">-->
                <!--<span class="mustinput">*</span>-->
                <!--上传Logo-->
                <!--</label>-->
                <!--<div class="col-md-3">-->
                <!--<div style="width: 215px;margin:0 auto;">-->
                <!--<div yg-file-upload-->
                <!--data-file-model="routeSite.fileModel"-->
                <!--data-file-ids="routeSite.logoUrl"-->
                <!--data-is-img="true"-->
                <!--data-width="200"-->
                <!--data-height="200"-->
                <!--data-is-circle="true"-->
                <!--data-file-length="1"></div>-->
                <!--</div>-->
                <!--</div>-->
                <!--</div>-->

                <!-- 按钮 -->
                <div class="form-group text-right" style="margin-left: 15px; margin-right: 15px;">
                    <button type="button" class="btn btn-default" data-ng-click="close()">
                        <i class="i i-arrow"></i>
                        &nbsp;返回
                    </button>
                    <button type="submit" class="btn btn-success" data-ng-click="saveObj()">
                        <i class="fa fa-save"></i>
                        &nbsp;保存
                    </button>
                </div>
            </form>
        </div>
    </section>
</section>

<style>
    #allmap {
        display: none;
        width: 100%;
        height: 500px;
    }
</style>
